package com.fa4j.code.mate.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fa4j.common.data.model.Base;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 代码元数据
 */
@Data
public class AbstractCodeMate extends Base {

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "项目名")
    private String projectName;

    @Schema(description = "模块名")
    private String moduleName;

    @Schema(description = "模块编码")
    private Integer moduleCode;

    @Schema(description = "上级ID")
    private Integer parentId;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "操作人ID")
    private Long operatorId;


}
